﻿using System;
using System.Windows.Forms;

namespace Front._1124
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 查询图书菜单点击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void toolStripMenuItem_QueryBook_Click(object sender, EventArgs e)
        {
            BookQueryForm queryForm = new BookQueryForm();
            queryForm.ShowDialog();
        }

        /// <summary>
        /// 添加图书菜单点击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void toolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddBookForm addForm = new AddBookForm();
            addForm.ShowDialog();
        }
    }
}